package com.alm.token.ui.data.bean;

import java.util.Map;

/**
 * Created by PDD on 2017/12/22.
 */
public class UserData {

    /**
     * msg : 操作成功
     * status : 0
     * data : {"level":{"id":19,"userId":34,"maxLevel":1,"levelName":"500$","levelOrderId":null,"vipLevel":1,"vipName":"普通会员","vipOrderId":13,"nodeLevel":1,"nodeName":"无","createTime":1545293255000,"updateTime":1545979558000,"teamMoney":0,"firstFloorNum":0,"superNodeDetail":"0","cityNodeDetail":"0","earthNodeDetail":"0","minNodeLevel":0},"vipOrder":{"id":13,"vipName":"VIP","vipLevel":2,"createTime":1545736067000,"updateTime":null,"status":1,"userId":34,"money":5000,"startTime":1547896067000,"endTime":null},"user":{"unionid":"150066100571545293255060","loginname":"test","loginpwd":null,"phone":"15006610057","wxopenid":null,"addtime":1545293255000,"updatetime":1545293255000,"membername":"15006610057","cardid":null,"usertype":1,"token":null,"wxopenid2":null,"code":"wwove8","headurl":"default.png","paypwd":null,"suanli":"100","ranking":null,"wabao":0,"duobao":0,"isduobao":0,"steallevel":1,"id":34}}
     * success : true
     * total : null
     */

    private String msg;
    private int status;
    private DataBean data;
    private boolean success;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBean {
        /**
         * level : {"id":19,"userId":34,"maxLevel":1,"levelName":"500$","levelOrderId":null,"vipLevel":1,"vipName":"普通会员","vipOrderId":13,"nodeLevel":1,"nodeName":"无","createTime":1545293255000,"updateTime":1545979558000,"teamMoney":0,"firstFloorNum":0,"superNodeDetail":"0","cityNodeDetail":"0","earthNodeDetail":"0","minNodeLevel":0}
         * vipOrder : {"id":13,"vipName":"VIP","vipLevel":2,"createTime":1545736067000,"updateTime":null,"status":1,"userId":34,"money":5000,"startTime":1547896067000,"endTime":null}
         * user : {"unionid":"150066100571545293255060","loginname":"test","loginpwd":null,"phone":"15006610057","wxopenid":null,"addtime":1545293255000,"updatetime":1545293255000,"membername":"15006610057","cardid":null,"usertype":1,"token":null,"wxopenid2":null,"code":"wwove8","headurl":"default.png","paypwd":null,"suanli":"100","ranking":null,"wabao":0,"duobao":0,"isduobao":0,"steallevel":1,"id":34}
         */

        private boolean isPayPwd;
        private boolean bindEmail;
        private boolean bindMnemonic;
        private boolean bindGoogleCode;


        private LevelBean level;
        private VipOrderBean vipOrder;
        private UserBean user;
        /**
         * eggPartner : {"id":7,"userId":1627,"phone":"123","goodsId":1,"price":1000,"getSmio":10000,"createTime":null,"updateTime":1558669072000,"payTime":null,"endTime":null,"status":1,"payStatus":1}
         */

        private EggPartnerBean eggPartner;

        public boolean isPayPwd() {
            return isPayPwd;
        }

        public void setPayPwd(boolean payPwd) {
            isPayPwd = payPwd;
        }

        public boolean isBindEmail() {
            return bindEmail;
        }

        public void setBindEmail(boolean bindEmail) {
            this.bindEmail = bindEmail;
        }

        public boolean isBindMnemonic() {
            return bindMnemonic;
        }

        public void setBindMnemonic(boolean bindMnemonic) {
            this.bindMnemonic = bindMnemonic;
        }

        public boolean isBindGoogleCode() {
            return bindGoogleCode;
        }

        public void setBindGoogleCode(boolean bindGoogleCode) {
            this.bindGoogleCode = bindGoogleCode;
        }

        public LevelBean getLevel() {
            return level;
        }

        public void setLevel(LevelBean level) {
            this.level = level;
        }

        public VipOrderBean getVipOrder() {
            return vipOrder;
        }

        public void setVipOrder(VipOrderBean vipOrder) {
            this.vipOrder = vipOrder;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public EggPartnerBean getEggPartner() {
            return eggPartner;
        }

        public void setEggPartner(EggPartnerBean eggPartner) {
            this.eggPartner = eggPartner;
        }

        public static class LevelBean {
            /**
             * id : 19
             * userId : 34
             * maxLevel : 1
             * levelName : 500$
             * levelOrderId : null
             * vipLevel : 1
             * vipName : 普通会员
             * vipOrderId : 13
             * nodeLevel : 1
             * nodeName : 无
             * createTime : 1545293255000
             * updateTime : 1545979558000
             * teamMoney : 0
             * firstFloorNum : 0
             * superNodeDetail : 0
             * cityNodeDetail : 0
             * earthNodeDetail : 0
             * minNodeLevel : 0
             * <p>
             * "cfdLevel": 0,
             * "cfdLevelName": "",
             * "cfdSubPro": 0,
             * "cfdTeamFloor": 0,
             * "cfdSubProId": 0,
             * "cfdSubProName": ""
             * <p>
             * "userLabel": { // 标签
             * "超级VIP": "#87CEEB",
             * "5000$": "#483D8B"
             * }
             */

            private int id;
            private int userId;
            private int maxLevel;
            private String levelName;
            private Object levelOrderId;
            private int vipLevel;
            private String vipName;
            private int vipOrderId;
            private int nodeLevel;
            private String nodeName;
            private long createTime;
            private long updateTime;
            private double teamMoney;
            private int firstFloorNum;
            private String superNodeDetail;
            private String cityNodeDetail;
            private String earthNodeDetail;
            private int minNodeLevel;
            private int cfdLevel;
            private String cfdLevelName;
            private int cfdTeamFloor;
            private int cfdSubProId;
            private String cfdSubPro;
            private String cfdSubProName;
            private Map<String, String> userLabel;


            public Map<String, String> getUserLabel() {
                return userLabel;
            }

            public void setUserLabel(Map<String, String> userLabel) {
                this.userLabel = userLabel;
            }

            public int getCfdLevel() {
                return cfdLevel;
            }

            public void setCfdLevel(int cfdLevel) {
                this.cfdLevel = cfdLevel;
            }

            public String getCfdLevelName() {
                return cfdLevelName;
            }

            public void setCfdLevelName(String cfdLevelName) {
                this.cfdLevelName = cfdLevelName;
            }

            public int getCfdTeamFloor() {
                return cfdTeamFloor;
            }

            public void setCfdTeamFloor(int cfdTeamFloor) {
                this.cfdTeamFloor = cfdTeamFloor;
            }

            public int getCfdSubProId() {
                return cfdSubProId;
            }

            public void setCfdSubProId(int cfdSubProId) {
                this.cfdSubProId = cfdSubProId;
            }

            public String getCfdSubPro() {
                return cfdSubPro;
            }

            public void setCfdSubPro(String cfdSubPro) {
                this.cfdSubPro = cfdSubPro;
            }

            public String getCfdSubProName() {
                return cfdSubProName;
            }

            public void setCfdSubProName(String cfdSubProName) {
                this.cfdSubProName = cfdSubProName;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public int getMaxLevel() {
                return maxLevel;
            }

            public void setMaxLevel(int maxLevel) {
                this.maxLevel = maxLevel;
            }

            public String getLevelName() {
                return levelName;
            }

            public void setLevelName(String levelName) {
                this.levelName = levelName;
            }

            public Object getLevelOrderId() {
                return levelOrderId;
            }

            public void setLevelOrderId(Object levelOrderId) {
                this.levelOrderId = levelOrderId;
            }

            public int getVipLevel() {
                return vipLevel;
            }

            public void setVipLevel(int vipLevel) {
                this.vipLevel = vipLevel;
            }

            public String getVipName() {
                return vipName;
            }

            public void setVipName(String vipName) {
                this.vipName = vipName;
            }

            public int getVipOrderId() {
                return vipOrderId;
            }

            public void setVipOrderId(int vipOrderId) {
                this.vipOrderId = vipOrderId;
            }

            public int getNodeLevel() {
                return nodeLevel;
            }

            public void setNodeLevel(int nodeLevel) {
                this.nodeLevel = nodeLevel;
            }

            public String getNodeName() {
                return nodeName;
            }

            public void setNodeName(String nodeName) {
                this.nodeName = nodeName;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public double getTeamMoney() {
                return teamMoney;
            }

            public void setTeamMoney(double teamMoney) {
                this.teamMoney = teamMoney;
            }

            public int getFirstFloorNum() {
                return firstFloorNum;
            }

            public void setFirstFloorNum(int firstFloorNum) {
                this.firstFloorNum = firstFloorNum;
            }

            public String getSuperNodeDetail() {
                return superNodeDetail;
            }

            public void setSuperNodeDetail(String superNodeDetail) {
                this.superNodeDetail = superNodeDetail;
            }

            public String getCityNodeDetail() {
                return cityNodeDetail;
            }

            public void setCityNodeDetail(String cityNodeDetail) {
                this.cityNodeDetail = cityNodeDetail;
            }

            public String getEarthNodeDetail() {
                return earthNodeDetail;
            }

            public void setEarthNodeDetail(String earthNodeDetail) {
                this.earthNodeDetail = earthNodeDetail;
            }

            public int getMinNodeLevel() {
                return minNodeLevel;
            }

            public void setMinNodeLevel(int minNodeLevel) {
                this.minNodeLevel = minNodeLevel;
            }
        }

        public static class VipOrderBean {
            /**
             * id : 13
             * vipName : VIP
             * vipLevel : 2
             * createTime : 1545736067000
             * updateTime : null
             * status : 1
             * userId : 34
             * money : 5000
             * startTime : 1547896067000
             * endTime : null
             */

            private int id;
            private String vipName;
            private int vipLevel;
            private long createTime;
            private Object updateTime;
            private int status;
            private int userId;
            private double money;
            private long startTime;
            private Object endTime;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getVipName() {
                return vipName;
            }

            public void setVipName(String vipName) {
                this.vipName = vipName;
            }

            public int getVipLevel() {
                return vipLevel;
            }

            public void setVipLevel(int vipLevel) {
                this.vipLevel = vipLevel;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public Object getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Object updateTime) {
                this.updateTime = updateTime;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public double getMoney() {
                return money;
            }

            public void setMoney(double money) {
                this.money = money;
            }

            public long getStartTime() {
                return startTime;
            }

            public void setStartTime(long startTime) {
                this.startTime = startTime;
            }

            public Object getEndTime() {
                return endTime;
            }

            public void setEndTime(Object endTime) {
                this.endTime = endTime;
            }
        }

        public static class UserBean {
            /**
             * unionid : 150066100571545293255060
             * loginname : test
             * loginpwd : null
             * phone : 15006610057
             * wxopenid : null
             * addtime : 1545293255000
             * updatetime : 1545293255000
             * membername : 15006610057
             * cardid : null
             * usertype : 1
             * token : null
             * wxopenid2 : null
             * code : wwove8
             * headurl : default.png
             * paypwd : null
             * suanli : 100
             * ranking : null
             * wabao : 0
             * duobao : 0
             * isduobao : 0
             * steallevel : 1
             * id : 34
             */

            private String unionid;
            private String loginname;
            private Object loginpwd;
            private String phone;
            private Object wxopenid;
            private long addtime;
            private long updatetime;
            private String membername;
            private Object cardid;
            private int usertype;
            private Object token;
            private Object wxopenid2;
            private String code;
            private String headurl;
            private Object paypwd;
            private String suanli;
            private Object ranking;
            private double wabao;
            private double duobao;
            private double isduobao;
            private int steallevel;
            private int id;
            private String email;

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public String getUnionid() {
                return unionid;
            }

            public void setUnionid(String unionid) {
                this.unionid = unionid;
            }

            public String getLoginname() {
                return loginname;
            }

            public void setLoginname(String loginname) {
                this.loginname = loginname;
            }

            public Object getLoginpwd() {
                return loginpwd;
            }

            public void setLoginpwd(Object loginpwd) {
                this.loginpwd = loginpwd;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public Object getWxopenid() {
                return wxopenid;
            }

            public void setWxopenid(Object wxopenid) {
                this.wxopenid = wxopenid;
            }

            public long getAddtime() {
                return addtime;
            }

            public void setAddtime(long addtime) {
                this.addtime = addtime;
            }

            public long getUpdatetime() {
                return updatetime;
            }

            public void setUpdatetime(long updatetime) {
                this.updatetime = updatetime;
            }

            public String getMembername() {
                return membername;
            }

            public void setMembername(String membername) {
                this.membername = membername;
            }

            public Object getCardid() {
                return cardid;
            }

            public void setCardid(Object cardid) {
                this.cardid = cardid;
            }

            public int getUsertype() {
                return usertype;
            }

            public void setUsertype(int usertype) {
                this.usertype = usertype;
            }

            public Object getToken() {
                return token;
            }

            public void setToken(Object token) {
                this.token = token;
            }

            public Object getWxopenid2() {
                return wxopenid2;
            }

            public void setWxopenid2(Object wxopenid2) {
                this.wxopenid2 = wxopenid2;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getHeadurl() {
                return headurl;
            }

            public void setHeadurl(String headurl) {
                this.headurl = headurl;
            }

            public Object getPaypwd() {
                return paypwd;
            }

            public void setPaypwd(Object paypwd) {
                this.paypwd = paypwd;
            }

            public String getSuanli() {
                return suanli;
            }

            public void setSuanli(String suanli) {
                this.suanli = suanli;
            }

            public Object getRanking() {
                return ranking;
            }

            public void setRanking(Object ranking) {
                this.ranking = ranking;
            }

            public double getWabao() {
                return wabao;
            }

            public void setWabao(double wabao) {
                this.wabao = wabao;
            }

            public double getDuobao() {
                return duobao;
            }

            public void setDuobao(double duobao) {
                this.duobao = duobao;
            }

            public double getIsduobao() {
                return isduobao;
            }

            public void setIsduobao(double isduobao) {
                this.isduobao = isduobao;
            }

            public int getSteallevel() {
                return steallevel;
            }

            public void setSteallevel(int steallevel) {
                this.steallevel = steallevel;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }

        public static class EggPartnerBean {
            /**
             * id : 7
             * userId : 1627
             * phone : 123
             * goodsId : 1
             * price : 1000
             * getSmio : 10000
             * createTime : null
             * updateTime : 1558669072000
             * payTime : null
             * endTime : null
             * status : 1
             * payStatus : 1
             */

            private int id;
            private int userId;
            private String phone;
            private int goodsId;
            private int price;
            private int getSmio;
            private Object createTime;
            private long updateTime;
            private Object payTime;
            private Object endTime;
            private int status;
            private int payStatus;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public int getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(int goodsId) {
                this.goodsId = goodsId;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public int getGetSmio() {
                return getSmio;
            }

            public void setGetSmio(int getSmio) {
                this.getSmio = getSmio;
            }

            public Object getCreateTime() {
                return createTime;
            }

            public void setCreateTime(Object createTime) {
                this.createTime = createTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public Object getPayTime() {
                return payTime;
            }

            public void setPayTime(Object payTime) {
                this.payTime = payTime;
            }

            public Object getEndTime() {
                return endTime;
            }

            public void setEndTime(Object endTime) {
                this.endTime = endTime;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getPayStatus() {
                return payStatus;
            }

            public void setPayStatus(int payStatus) {
                this.payStatus = payStatus;
            }
        }
    }
}
